<template>
  <div>
    parent
  <child ref="child"></child>
  </div>
</template>

<script>
import child from './child'
import Child from './child.vue'
export default {
  data () {
    return {
      a:1
    }
  },
  components:{
    child
  }
}
    Child
</script>

<style>

</style>